package com.diana.controller;

import com.diana.service.ManagerLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author anzhi
 * @since 2019-04-21
 */
@RestController
public class ManagerLogController {

    @Autowired
    private ManagerLogService managerLogService;

    @RequestMapping("/admin/managerLog/getLogList")
    public String getLogList(@RequestBody Map<String,Object> map){
        return managerLogService.getLogList(map);
    }
}

